package com.huidao.domain;
/** * 创建一个最高的菜品父类，用于封装订单*/
public abstract class FoodOfFather {
	private double Price;
	private String name;

	/**
	 * @return the name
	 */
	public abstract String getName();

	/**
	 * @param name the name to set
	 */
	public abstract void setName(String name) ;

	public FoodOfFather(double price, String name) {
		super();
		Price = price;
		this.name = name;
	}

	public FoodOfFather() {
		super();
		// TODO Auto-generated constructor stub
	}

	public abstract double getPrice() ;

	/**
	 * @param price the price to set
	 */
	public abstract void setPrice(double price) ;

	
}
